package org.jeecg.modules.job.sub.vo;

import java.util.List;

import org.jeecg.modules.job.sub.entity.SubSelect;
import org.jeecg.modules.job.sub.entity.SubAnswer;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 题目信息
 * @Author: jeecg-boot
 * @Date:   2022-10-04
 * @Version: V1.0
 */
@Data
@ApiModel(value="sub_titlePage对象", description="题目信息")
public class SubTitlePage {

	/**主键ID*/
	@ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**题目名称*/
	@Excel(name = "题目名称", width = 15)
	@ApiModelProperty(value = "题目名称")
    private java.lang.String title;
	/**题目类型*/
	@Excel(name = "题目类型", width = 15, dicCode = "sub_type")
    @Dict(dicCode = "sub_type")
	@ApiModelProperty(value = "题目类型")
    private java.lang.Integer subType;
	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
    private java.lang.Integer sort;
	/**启用状态*/
	@Excel(name = "启用状态", width = 15, dicCode = "status")
    @Dict(dicCode = "status")
	@ApiModelProperty(value = "启用状态")
    private java.lang.Integer status;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
	@ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**所属部门编码*/
	@ApiModelProperty(value = "所属部门编码")
    private java.lang.String sysOrgCode;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
	@ApiModelProperty(value = "tenantId")
    private java.lang.Integer tenantId;

	@ExcelCollection(name="题目选项")
	@ApiModelProperty(value = "题目选项")
	private List<SubSelect> subSelectList;
	@ExcelCollection(name="题目答案")
	@ApiModelProperty(value = "题目答案")
	private List<SubAnswer> subAnswerList;

}
